home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12830 < prev    next >
Encoding:
Text File  |  1996-08-05  |  607 b   |  22 lines

  1. Newsgroups: comp.lang.c++
  2. Path: www.qed.com!not-for-mail
  3. From: rdsilverman@qed.com
  4. Subject: Acessing Mail from C++
  5. Message-ID: <3157cc$c18b.26b@www.qed.com>
  6. Date: Thu, 21 Mar 96 13:38:21 PDT
  7. X-Newsreader: NEWTNews & Chameleon -- TCP/IP for MS Windows from NetManage
  8. MIME-Version: 1.0
  9. Content-Type: TEXT/PLAIN; charset=US-ASCII
  10.  
  11.  
  12.  
  13. In Unix, one can call the mail program from inside C/C++
  14. via a system call:
  15.  
  16. e.g.  system("mail pdq@any.com < file");
  17.  
  18. Can one do the same from Microsoft C++ running under
  19. NT? i.e. one has (say) a text file one wants to mail
  20. to an external address from inside a C++ program. 
  21.  
  22.